package com.csust.automaticteach.model.dto.exercisessubmit;

/**
 * @ClassNameJudgeGenerateQuestionRequest
 * @Description 生成题目的判题请求
 * @Author钰玟
 * @Date2025/6/20 下午2:31
 * @Version 1.0
 **/

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;
import java.io.Serializable;

/**
 * 生成题目的判题请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JudgeExercisesRequestForAI implements Serializable {
    @Serial
    private final static long serialVersionUID = 1L;
    /**
     * 题目id
     */
    private Long id;
    /**
     * 题目内容
     */
    private String content;
    /**
     * 题目类型
     */
    private String type;
    /**
     * 选择题选项数组 type为选择题时才有该字段
     */
    private String options;
    /**
     * 正确答案
     */
    private String answer;
    /**
     * 用户答案
     */
    private String userAns;
    /**
     * 解析
     */
    private String explanation;

}
